Optimal. Leaf size=149 \[ \frac{x \sin ^3\left (a+b \log \left (c x^n\right )\right )}{9 b^2 n^2+1}+\frac{6 b^2 n^2 x \sin \left (a+b \log \left (c x^n\right )\right )}{9 b^4 n^4+10 b^2 n^2+1}-\frac{6 b^3 n^3 x \cos \left (a+b \log \left (c x^n\right )\right )}{9 b^4 n^4+10 b^2 n^2+1}-\frac{3 b n x \sin ^2\left (a+b \log \left (c x^n\right )\right ) \cos \left (a+b \log \left (c x^n\right )\right )}{9 b^2 n^2+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0365887, antiderivative size = 149, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {4477, 4475} \[ \frac{x \sin ^3\left (a+b \log \left (c x^n\right )\right )}{9 b^2 n^2+1}+\frac{6 b^2 n^2 x \sin \left (a+b \log \left (c x^n\right )\right )}{9 b^4 n^4+10 b^2 n^2+1}-\frac{6 b^3 n^3 x \cos \left (a+b \log \left (c x^n\right )\right )}{9 b^4 n^4+10 b^2 n^2+1}-\frac{3 b n x \sin ^2\left (a+b \log \left (c x^n\right )\right ) \cos \left (a+b \log \left (c x^n\right )\right )}{9 b^2 n^2+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4477
Rule 4475
Rubi steps
\begin{align*} \int \sin ^3\left (a+b \log \left (c x^n\right )\right ) \, dx &=-\frac{3 b n x \cos \left (a+b \log \left (c x^n\right )\right ) \sin ^2\left (a+b \log \left (c x^n\right )\right )}{1+9 b^2 n^2}+\frac{x \sin ^3\left (a+b \log \left (c x^n\right )\right )}{1+9 b^2 n^2}+\frac{\left (6 b^2 n^2\right ) \int \sin \left (a+b \log \left (c x^n\right )\right ) \, dx}{1+9 b^2 n^2}\\ &=-\frac{6 b^3 n^3 x \cos \left (a+b \log \left (c x^n\right )\right )}{1+10 b^2 n^2+9 b^4 n^4}+\frac{6 b^2 n^2 x \sin \left (a+b \log \left (c x^n\right )\right )}{1+10 b^2 n^2+9 b^4 n^4}-\frac{3 b n x \cos \left (a+b \log \left (c x^n\right )\right ) \sin ^2\left (a+b \log \left (c x^n\right )\right )}{1+9 b^2 n^2}+\frac{x \sin ^3\left (a+b \log \left (c x^n\right )\right )}{1+9 b^2 n^2}\\ \end{align*}
Mathematica [A] time = 0.482902, size = 121, normalized size = 0.81 \[ -\frac{x \left (3 b n \left (9 b^2 n^2+1\right ) \cos \left (a+b \log \left (c x^n\right )\right )-3 \left (b^3 n^3+b n\right ) \cos \left (3 \left (a+b \log \left (c x^n\right )\right )\right )+2 \sin \left (a+b \log \left (c x^n\right )\right ) \left (\left (b^2 n^2+1\right ) \cos \left (2 \left (a+b \log \left (c x^n\right )\right )\right )-13 b^2 n^2-1\right )\right )}{36 b^4 n^4+40 b^2 n^2+4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.069, size = 0, normalized size = 0. \begin{align*} \int \left ( \sin \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.24488, size = 1337, normalized size = 8.97 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.504358, size = 329, normalized size = 2.21 \begin{align*} \frac{3 \,{\left (b^{3} n^{3} + b n\right )} x \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{3} - 3 \,{\left (3 \, b^{3} n^{3} + b n\right )} x \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) -{\left ({\left (b^{2} n^{2} + 1\right )} x \cos \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} -{\left (7 \, b^{2} n^{2} + 1\right )} x\right )} \sin \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}{9 \, b^{4} n^{4} + 10 \, b^{2} n^{2} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]